package com.example.loganalysis.entity;

public class TOperateLog {
    private int id; // 主键
    private String log_type;
    private String datetime; // 对应 datetime
    private String user;
    private String remote_addr;
    private String action_display;
    private String resource_type;
    private String ipfs_hash;
    private String log_id;

    public int getId() {return id;}
    public void setId(int id) {this.id = id;}
    public String getDateTime() {return datetime;}
    public void setDateTime(String datetime) {this.datetime = datetime;}
    public String getUsername() {return user;}
    public void setUsername(String user) {this.user = user;}
    public String getRemoteAddr() {return remote_addr;}
    public void setRemoteAddr(String remote_addr) {this.remote_addr = remote_addr;}
    public String getActionDisplay() {return action_display;}
    public void setActionDisplay(String action_display) {this.action_display = action_display;}
    public String getResource_type() {return resource_type;}
    public void setResource_type(String resource_type) {this.resource_type = resource_type;}
    public String getIpfsHash() {return ipfs_hash;}
    public void setIpfsHash(String ipfs_hash) {this.ipfs_hash = ipfs_hash;}
    public void setLog_type(String log_type) {this.log_type = log_type;}
    public String getLog_type() {return log_type;}
    public String getLog_id() {return log_id;}
    public void setLog_id(String log_id) {this.log_id = log_id;}
    // Getters and Setters

    @Override
    public String toString() {
        return "TOperateLog{" +
                "datetime='" + datetime + '\'' +
                ", user='" + user + '\'' +
                ", remote_addr='" + remote_addr + '\'' +
                ", action_display='" + action_display + '\'' +
                ", resource_type='" + resource_type + '\'' +
                ", log_type='" + log_type + '\'' +
                ", ipfs_hash='" + ipfs_hash + '\'' +
                '}';
    }

}
